/*
 * Copyright 2011 CyberSMS.ru
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package ru.cybersms.model.response;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import ru.cybersms.model.response.TagsResponse.TagItem;

/**
 *
 * @author Андрей Шерцингер <support@cybersms.ru>
 */
public class BulksResponse extends Response {

	private List<BulkItem> bulks;

	public List<BulkItem> getBulks() {
		return bulks;
	}

	public void setBulks(List<BulkItem> bulks) {
		this.bulks = bulks;
	}

	public static class BulkItem {

		private int id;
		private String name;
		private String sender;
		private String message;
		private Integer lifetime;
		private int numbers_count;
		private int numbers_sent;
		private BigDecimal price;
		private String status;
		private String error;
		private boolean send_email_report;
		private boolean send_sms_report;
		private String report_email;
		private String report_phone;
		private Date began_at;
		private Date completed_at;
		private Date created_at;
		private Date updated_at;
		
		private List<TagsResponse.TagItem> IncludeTags;
		private List<TagsResponse.TagItem> ExcludeTags;

		public int getId() {
			return id;
		}

		public void setId(int id) {
			this.id = id;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getSender() {
			return sender;
		}

		public void setSender(String sender) {
			this.sender = sender;
		}

		public String getMessage() {
			return message;
		}

		public void setMessage(String message) {
			this.message = message;
		}

		public Integer getLifetime() {
			return lifetime;
		}

		public void setLifetime(Integer lifetime) {
			this.lifetime = lifetime;
		}

		public int getNumbers_count() {
			return numbers_count;
		}

		public void setNumbers_count(int numbers_count) {
			this.numbers_count = numbers_count;
		}

		public int getNumbers_sent() {
			return numbers_sent;
		}

		public void setNumbers_sent(int numbers_sent) {
			this.numbers_sent = numbers_sent;
		}

		public BigDecimal getPrice() {
			return price;
		}

		public void setPrice(BigDecimal price) {
			this.price = price;
		}

		public String getStatus() {
			return status;
		}

		public void setStatus(String status) {
			this.status = status;
		}

		public String getError() {
			return error;
		}

		public void setError(String error) {
			this.error = error;
		}

		public boolean isSend_email_report() {
			return send_email_report;
		}

		public void setSend_email_report(boolean send_email_report) {
			this.send_email_report = send_email_report;
		}

		public boolean isSend_sms_report() {
			return send_sms_report;
		}

		public void setSend_sms_report(boolean send_sms_report) {
			this.send_sms_report = send_sms_report;
		}

		public String getReport_email() {
			return report_email;
		}

		public void setReport_email(String report_email) {
			this.report_email = report_email;
		}

		public String getReport_phone() {
			return report_phone;
		}

		public void setReport_phone(String report_phone) {
			this.report_phone = report_phone;
		}

		public Date getBegan_at() {
			return began_at;
		}

		public void setBegan_at(Date began_at) {
			this.began_at = began_at;
		}

		public Date getCompleted_at() {
			return completed_at;
		}

		public void setCompleted_at(Date completed_at) {
			this.completed_at = completed_at;
		}

		public Date getCreated_at() {
			return created_at;
		}

		public void setCreated_at(Date created_at) {
			this.created_at = created_at;
		}

		public Date getUpdated_at() {
			return updated_at;
		}

		public void setUpdated_at(Date updated_at) {
			this.updated_at = updated_at;
		}

		public List<TagItem> getExcludeTags() {
			return ExcludeTags;
		}

		public void setExcludeTags(List<TagItem> ExcludeTags) {
			this.ExcludeTags = ExcludeTags;
		}

		public List<TagItem> getIncludeTags() {
			return IncludeTags;
		}

		public void setIncludeTags(List<TagItem> IncludeTags) {
			this.IncludeTags = IncludeTags;
		}

		@Override
		public String toString() {
			return "BulkItem{" + "id=" + id + ", name=" + name + ", sender=" + sender + ", message=" + message + ", lifetime=" + lifetime + ", numbers_count=" + numbers_count + ", numbers_sent=" + numbers_sent + ", price=" + price + ", status=" + status + ", error=" + error + ", send_email_report=" + send_email_report + ", send_sms_report=" + send_sms_report + ", report_email=" + report_email + ", report_phone=" + report_phone + ", began_at=" + began_at + ", completed_at=" + completed_at + ", created_at=" + created_at + ", updated_at=" + updated_at + ", IncludeTags=" + IncludeTags + ", ExcludeTags=" + ExcludeTags + '}';
		}


		
	}
}
